implement stack using heap or priority queue

welcome to shbcf.ru